package com.sduept.nwld.dataserver.model;

import java.util.Date;

import javax.persistence.Entity;

/**
 * 图片资源可在此类派生
 *
 */
@Entity
public abstract class ImageDocument extends Document {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5547045174592803526L;
	/**
	 * 图片的相对路径 （相对于SystemProperties.IMAGE_PATH 的路径）
	 * 模块可以自建路径，总的路径应该是SystemProperties.IMAGE_PATH+MYPATH+FILENAME
	 */
	protected String path;
	/**
	 * 图片关联对象的ID，可为空
	 */
	protected String oid;
	
	protected String creater;
	
	protected Date createDate;

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
}
